//
//  Ints.swift
//  JXBaseTools
//
//  Created by godox on 2022/7/7.
//

import Foundation

extension Int: JXCompatible { }

extension JX where Base == Int {
    
    public var toBool: Bool {
        
        if base == 0 {
            return false
        } else {
            return true
        }
        
    }
    
    public var toString: String {
        
        return "\(base)"
    }
}
